Fixed deleting a file if deleting throw the error. (#1270)
Fixed deleting a file if deleting throw the error. (#1270)

Moved deleting a file from file system from preRemove to postRemove.
Without it first deleting file and then trying to remove record. And if record, for example, has dependecies, it not deleted, but the file will already be deleted.
hug963/SonataMediaBundle,OskarStark/SonataMediaBundle,jerome-fix/SonataMediaBundle,hug963/SonataMediaBundle,vyshkant/SonataMediaBundle,jerome-fix/SonataMediaBundle,hug963/SonataMediaBundle,OskarStark/SonataMediaBundle,hug963/SonataMediaBundle,vyshkant/SonataMediaBundle,vyshkant/SonataMediaBundle,OskarStark/SonataMediaBundle,hug963/SonataMediaBundle,vyshkant/SonataMediaBundle,vyshkant/SonataMediaBundle,OskarStark/SonataMediaBundle,jerome-fix/SonataMediaBundle,jerome-fix/SonataMediaBundle,sonata-project/SonataMediaBundle