use named path for pages to be saved normally

This PR mainly fix unable to save edited pages. More details is here: https://github.com/refinery/refinerycms/issues/2711