Your queen_beecon file gets saved as that, not as .queen_beecon So it won't replace the original one.. rename won't work with the . in front of that name. That is not allowed